package com.by_man.presenter.module_bluetooth;

import java.util.HashMap;

public class SampleGattAttributes
{
    public static String APPEAREANCE;
    public static String CERTIFICATION_DATA_LIST;
    public static String CLIENT_CHARACTERISTIC_CONFIG;
    public static String DEVICE_NAME;
    public static String DIS;
    public static String FIRMWARE_REVISION_STRING;
    public static String GAP;
    public static String GATT;
    public static String HARDWARE_REVISION_STRING;
    public static String MANUFACTURER_NAME_STRING;
    public static String MODLE_NUMBER_STRING;
    public static String PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS;
    public static String PERIPHERAL_PRIVACY_FALG;
    public static String PNP_ID;
    public static String RECONNECTION_ADDRESS;
    public static String SERAL_NUMBER_STRING;
    public static String SERVICE_CHANGED;
    public static String SOFTWARE_REVISION_STRING;
    public static String SPPLE_NOTIFY;
    public static String SPPLE_POUT;
    public static String SPPLE_SERV;
    public static String SPPLE_WRITE;
    public static String SYSTEM_ID;
    private static HashMap<String, String> attributes = new HashMap();

    static
    {
        CLIENT_CHARACTERISTIC_CONFIG = "00002902-0000-1000-8000-00805f9b34fb";
        GAP = "00001800-0000-1000-8000-00805f9b34fb";
        DEVICE_NAME = "00002a00-0000-1000-8000-00805f9b34fb";
        APPEAREANCE = "00002a01-0000-1000-8000-00805f9b34fb";
        PERIPHERAL_PRIVACY_FALG = "00002a02-0000-1000-8000-00805f9b34fb";
        RECONNECTION_ADDRESS = "00002a03-0000-1000-8000-00805f9b34fb";
        PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS = "00002a04-0000-1000-8000-00805f9b34fb";
        GATT = "00001801-0000-1000-8000-00805f9b34fb";
        SERVICE_CHANGED = "00002a05-0000-1000-8000-00805f9b34fb";
        DIS = "0000180a-0000-1000-8000-00805f9b34fb";
        MANUFACTURER_NAME_STRING = "00002a23-0000-1000-8000-00805f9b34fb";
        MODLE_NUMBER_STRING = "00002a24-0000-1000-8000-00805f9b34fb";
        SERAL_NUMBER_STRING = "00002a25-0000-1000-8000-00805f9b34fb";
        FIRMWARE_REVISION_STRING = "00002a26-0000-1000-8000-00805f9b34fb";
        HARDWARE_REVISION_STRING = "00002a27-0000-1000-8000-00805f9b34fb";
        SOFTWARE_REVISION_STRING = "00002a28-0000-1000-8000-00805f9b34fb";

        SYSTEM_ID = "00002a29-0000-1000-8000-00805f9b34fb";
        CERTIFICATION_DATA_LIST = "00002a2a-0000-1000-8000-00805f9b34fb";
        PNP_ID = "00002a50-0000-1000-8000-00805f9b34fb";
        SPPLE_SERV = "0000fff0-0000-1000-8000-00805f9b34fb";
        SPPLE_WRITE = "0000fff1-0000-1000-8000-00805f9b34fb";
        SPPLE_NOTIFY = "0000fff2-0000-1000-8000-00805f9b34fb";
        SPPLE_POUT = "0000fff3-0000-1000-8000-00805f9b34fb";
        attributes.put(GAP, "Generic Access Service");
        attributes.put(GATT, "Generic Attribute Service");
        attributes.put(DIS, "Device Information Service");
        attributes.put(SPPLE_SERV, "SPPLE Service");
        attributes.put(DEVICE_NAME, "Device name");
        attributes.put(APPEAREANCE, "Appearance");
        attributes.put(PERIPHERAL_PRIVACY_FALG, "Peripheral privacy flag");
        attributes.put(RECONNECTION_ADDRESS, "Reconnection address");
        attributes.put(PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS, "peripheral preferred connection_parameters");
        attributes.put(SERVICE_CHANGED, "Service changed");
        attributes.put(MANUFACTURER_NAME_STRING, "Manufacturer name string");
        attributes.put(MODLE_NUMBER_STRING, "Model number string");
        attributes.put(SERAL_NUMBER_STRING, "Serial number string");
        attributes.put(HARDWARE_REVISION_STRING, "Hardware revision string");
        attributes.put(FIRMWARE_REVISION_STRING, "Firmware revision string");
        attributes.put(SOFTWARE_REVISION_STRING, "Software revision string");
        attributes.put(SYSTEM_ID, "System id");
        attributes.put(CERTIFICATION_DATA_LIST, "Certification data list");
        attributes.put(PNP_ID, "Pnp ID");
        attributes.put(SPPLE_WRITE, "SPPLE Write");
        attributes.put(SPPLE_NOTIFY, "SPPLE Notify");
        attributes.put(SPPLE_POUT, "SPPLE Pout");
    }

    public static String lookup(String paramString1, String paramString2) {
        String str = (String) attributes.get(paramString1);
        if (str == null) ;
        else {
            paramString2 = str;

        }
        return paramString2;
    }
}